Skip to content

Relax reflection constraints#56

Merged
mingxwa merged 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/refl-constexpr
Jul 5, 2026
Merged

Relax reflection constraints#56
mingxwa merged 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/refl-constexpr

Conversation

@mingxwa

@mingxwa mingxwa commented Jun 27, 2026

Copy link
Copy Markdown
Member

Indirect metadata storage, which includes any reflection, does not necessarily be constexpr or nothrow-default-constructible. This change allows reflections happen at runtime. For existing constexpr reflections, this change does not affect their code gen.

Updated tests and spec accordingly.

@mingxwa mingxwa merged commit 92898e4 into ngcpp:main Jul 5, 2026
16 checks passed
@mingxwa mingxwa deleted the user/mingxwa/refl-constexpr branch July 5, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants